package pl.edu.agh.io.gpstracker.client.action;

import net.customware.gwt.dispatch.shared.Action;
import pl.edu.agh.io.gpstracker.client.dto.UserDto;
import pl.edu.agh.io.gpstracker.client.result.ObjectResult;

/**
 * 
 * 
 * @author wkedzior
 * 
 */
public class LoginAction implements Action<ObjectResult<UserDto>> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2502363474893837408L;
	private String login, password;

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public LoginAction() {
	}

	public LoginAction(String login, String password) {
		super();
		this.login = login;
		this.password = password;
	}

}
